import request from "@/utils/request";

//小程序查询会员类型列表
export function memberList(query) {
	return request({
		url: "/cy/member/app/list",
		headers: {
			isToken: false
		},
		method: "get",
		params: query
	});
}

export function memberPay(query) {
	return request({
		url: "/cy/create/member-order",
		headers: {
			isToken: true
		},
		method: "post",
		data: query
	});
}